/*
 * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0 OR MIT
 */

#pragma once

#define EXT_ADC_START_IDX                       0
#define LEDC_LS_SIG_OUT0_IDX                    0
#define LEDC_LS_SIG_OUT1_IDX                    1
#define LEDC_LS_SIG_OUT2_IDX                    2
#define LEDC_LS_SIG_OUT3_IDX                    3
#define LEDC_LS_SIG_OUT4_IDX                    4
#define LEDC_LS_SIG_OUT5_IDX                    5
#define U0RXD_IN_IDX                            6
#define U0TXD_OUT_IDX                           6
#define U0CTS_IN_IDX                            7
#define U0RTS_OUT_IDX                           7
#define U0DSR_IN_IDX                            8
#define U0DTR_OUT_IDX                           8
#define U1RXD_IN_IDX                            9
#define U1TXD_OUT_IDX                           9
#define U1CTS_IN_IDX                            10
#define U1RTS_OUT_IDX                           10
#define U1DSR_IN_IDX                            11
#define U1DTR_OUT_IDX                           11
#define I2S_MCLK_IN_IDX                         12
#define I2S_MCLK_OUT_IDX                        12
#define I2SO_BCK_IN_IDX                         13
#define I2SO_BCK_OUT_IDX                        13
#define I2SO_WS_IN_IDX                          14
#define I2SO_WS_OUT_IDX                         14
#define I2SI_SD_IN_IDX                          15
#define I2SO_SD_OUT_IDX                         15
#define I2SI_BCK_IN_IDX                         16
#define I2SI_BCK_OUT_IDX                        16
#define I2SI_WS_IN_IDX                          17
#define I2SI_WS_OUT_IDX                         17
#define I2SO_SD1_OUT_IDX                        18
#define CPU_TESTBUS0_IDX                        19
#define CPU_TESTBUS1_IDX                        20
#define CPU_TESTBUS2_IDX                        21
#define CPU_TESTBUS3_IDX                        22
#define CPU_TESTBUS4_IDX                        23
#define CPU_TESTBUS5_IDX                        24
#define CPU_TESTBUS6_IDX                        25
#define CPU_TESTBUS7_IDX                        26
#define CPU_GPIO_IN0_IDX                        27
#define CPU_GPIO_OUT0_IDX                       27
#define CPU_GPIO_IN1_IDX                        28
#define CPU_GPIO_OUT1_IDX                       28
#define CPU_GPIO_IN2_IDX                        29
#define CPU_GPIO_OUT2_IDX                       29
#define CPU_GPIO_IN3_IDX                        30
#define CPU_GPIO_OUT3_IDX                       30
#define CPU_GPIO_IN4_IDX                        31
#define CPU_GPIO_OUT4_IDX                       31
#define CPU_GPIO_IN5_IDX                        32
#define CPU_GPIO_OUT5_IDX                       32
#define CPU_GPIO_IN6_IDX                        33
#define CPU_GPIO_OUT6_IDX                       33
#define CPU_GPIO_IN7_IDX                        34
#define CPU_GPIO_OUT7_IDX                       34
#define USB_JTAG_TDO_IDX                        35
#define USB_JTAG_TRST_IDX                       35
#define USB_JTAG_SRST_IDX                       36
#define USB_JTAG_TCK_IDX                        37
#define USB_JTAG_TMS_IDX                        38
#define USB_JTAG_TDI_IDX                        39
#define CPU_USB_JTAG_TDO_IDX                    40
#define USB_EXTPHY_VP_IDX                       41
#define USB_EXTPHY_OEN_IDX                      41
#define USB_EXTPHY_VM_IDX                       42
#define USB_EXTPHY_SPEED_IDX                    42
#define USB_EXTPHY_RCV_IDX                      43
#define USB_EXTPHY_VPO_IDX                      43
#define USB_EXTPHY_VMO_IDX                      44
#define USB_EXTPHY_SUSPND_IDX                   45
#define I2CEXT0_SCL_IN_IDX                      46
#define I2CEXT0_SCL_OUT_IDX                     46
#define I2CEXT0_SDA_IN_IDX                      47
#define I2CEXT0_SDA_OUT_IDX                     47
#define PARL_RX_DATA0_IDX                       48
#define PARL_TX_DATA0_IDX                       48
#define PARL_RX_DATA1_IDX                       49
#define PARL_TX_DATA1_IDX                       49
#define PARL_RX_DATA2_IDX                       50
#define PARL_TX_DATA2_IDX                       50
#define PARL_RX_DATA3_IDX                       51
#define PARL_TX_DATA3_IDX                       51
#define PARL_RX_DATA4_IDX                       52
#define PARL_TX_DATA4_IDX                       52
#define PARL_RX_DATA5_IDX                       53
#define PARL_TX_DATA5_IDX                       53
#define PARL_RX_DATA6_IDX                       54
#define PARL_TX_DATA6_IDX                       54
#define PARL_RX_DATA7_IDX                       55
#define PARL_TX_DATA7_IDX                       55
#define FSPICLK_IN_IDX                          56
#define FSPICLK_OUT_IDX                         56
#define FSPIQ_IN_IDX                            57
#define FSPIQ_OUT_IDX                           57
#define FSPID_IN_IDX                            58
#define FSPID_OUT_IDX                           58
#define FSPIHD_IN_IDX                           59
#define FSPIHD_OUT_IDX                          59
#define FSPIWP_IN_IDX                           60
#define FSPIWP_OUT_IDX                          60
#define FSPICS0_IN_IDX                          61
#define FSPICS0_OUT_IDX                         61
#define PARL_RX_CLK_IN_IDX                      62
#define PARL_RX_CLK_OUT_IDX                     62
#define PARL_TX_CLK_IN_IDX                      63
#define PARL_TX_CLK_OUT_IDX                     63
#define RMT_SIG_IN0_IDX                         64
#define RMT_SIG_OUT0_IDX                        64
#define RMT_SIG_IN1_IDX                         65
#define RMT_SIG_OUT1_IDX                        65
#define TWAI0_RX_IDX                            66
#define TWAI0_TX_IDX                            66
#define TWAI0_BUS_OFF_ON_IDX                    67
#define TWAI0_CLKOUT_IDX                        68
#define TWAI0_STANDBY_IDX                       69
#define TWAI1_RX_IDX                            70
#define TWAI1_TX_IDX                            70
#define TWAI1_BUS_OFF_ON_IDX                    71
#define TWAI1_CLKOUT_IDX                        72
#define TWAI1_STANDBY_IDX                       73
#define EXTERN_PRIORITY_I_IDX                   74
#define EXTERN_PRIORITY_O_IDX                   74
#define EXTERN_ACTIVE_I_IDX                     75
#define EXTERN_ACTIVE_O_IDX                     75
#define PCNT_RST_IN0_IDX                        76
#define GPIO_SD0_OUT_IDX                        76
#define PCNT_RST_IN1_IDX                        77
#define GPIO_SD1_OUT_IDX                        77
#define PCNT_RST_IN2_IDX                        78
#define GPIO_SD2_OUT_IDX                        78
#define PCNT_RST_IN3_IDX                        79
#define GPIO_SD3_OUT_IDX                        79
#define PWM0_SYNC0_IN_IDX                       80
#define PWM0_OUT0A_IDX                          80
#define PWM0_SYNC1_IN_IDX                       81
#define PWM0_OUT0B_IDX                          81
#define PWM0_SYNC2_IN_IDX                       82
#define PWM0_OUT1A_IDX                          82
#define PWM0_F0_IN_IDX                          83
#define PWM0_OUT1B_IDX                          83
#define PWM0_F1_IN_IDX                          84
#define PWM0_OUT2A_IDX                          84
#define PWM0_F2_IN_IDX                          85
#define PWM0_OUT2B_IDX                          85
#define PWM0_CAP0_IN_IDX                        86
#define PARL_TX_CS_O_IDX                        86
#define PWM0_CAP1_IN_IDX                        87
#define PWM0_CAP2_IN_IDX                        88
#define GPIO_EVENT_MATRIX_IN0_IDX               89
#define GPIO_TASK_MATRIX_OUT0_IDX               89
#define GPIO_EVENT_MATRIX_IN1_IDX               90
#define GPIO_TASK_MATRIX_OUT1_IDX               90
#define GPIO_EVENT_MATRIX_IN2_IDX               91
#define GPIO_TASK_MATRIX_OUT2_IDX               91
#define GPIO_EVENT_MATRIX_IN3_IDX               92
#define GPIO_TASK_MATRIX_OUT3_IDX               92
#define CLK_OUT_OUT1_IDX                        93
#define CLK_OUT_OUT2_IDX                        94
#define CLK_OUT_OUT3_IDX                        95
#define SDIO_TOHOST_INT_OUT_IDX                 96
#define SIG_IN_FUNC_97_IDX                      97
#define SIG_IN_FUNC97_IDX                       97
#define SIG_IN_FUNC_98_IDX                      98
#define SIG_IN_FUNC98_IDX                       98
#define SIG_IN_FUNC_99_IDX                      99
#define SIG_IN_FUNC99_IDX                       99
#define SIG_IN_FUNC_100_IDX                     100
#define SIG_IN_FUNC100_IDX                      100
#define PCNT_SIG_CH0_IN0_IDX                    101
#define FSPICS1_OUT_IDX                         101
#define PCNT_SIG_CH1_IN0_IDX                    102
#define FSPICS2_OUT_IDX                         102
#define PCNT_CTRL_CH0_IN0_IDX                   103
#define FSPICS3_OUT_IDX                         103
#define PCNT_CTRL_CH1_IN0_IDX                   104
#define FSPICS4_OUT_IDX                         104
#define PCNT_SIG_CH0_IN1_IDX                    105
#define FSPICS5_OUT_IDX                         105
#define PCNT_SIG_CH1_IN1_IDX                    106
#define MODEM_DIAG0_IDX                         106
#define PCNT_CTRL_CH0_IN1_IDX                   107
#define MODEM_DIAG1_IDX                         107
#define PCNT_CTRL_CH1_IN1_IDX                   108
#define MODEM_DIAG2_IDX                         108
#define PCNT_SIG_CH0_IN2_IDX                    109
#define MODEM_DIAG3_IDX                         109
#define PCNT_SIG_CH1_IN2_IDX                    110
#define MODEM_DIAG4_IDX                         110
#define PCNT_CTRL_CH0_IN2_IDX                   111
#define MODEM_DIAG5_IDX                         111
#define PCNT_CTRL_CH1_IN2_IDX                   112
#define MODEM_DIAG6_IDX                         112
#define PCNT_SIG_CH0_IN3_IDX                    113
#define MODEM_DIAG7_IDX                         113
#define PCNT_SIG_CH1_IN3_IDX                    114
#define MODEM_DIAG8_IDX                         114
#define PCNT_CTRL_CH0_IN3_IDX                   115
#define MODEM_DIAG9_IDX                         115
#define PCNT_CTRL_CH1_IN3_IDX                   116
#define MODEM_DIAG10_IDX                        116
#define MODEM_DIAG11_IDX                        117
#define MODEM_DIAG12_IDX                        118
#define MODEM_DIAG13_IDX                        119
#define MODEM_DIAG14_IDX                        120
#define MODEM_DIAG15_IDX                        121
#define MODEM_DIAG16_IDX                        122
#define MODEM_DIAG17_IDX                        123
#define MODEM_DIAG18_IDX                        124
#define MODEM_DIAG19_IDX                        125
#define MODEM_DIAG20_IDX                        126
#define MODEM_DIAG21_IDX                        127
#define MODEM_DIAG22_IDX                        128
#define MODEM_DIAG23_IDX                        129
#define MODEM_DIAG24_IDX                        130
#define MODEM_DIAG25_IDX                        131
#define MODEM_DIAG26_IDX                        132
#define MODEM_DIAG27_IDX                        133
#define MODEM_DIAG28_IDX                        134
#define MODEM_DIAG29_IDX                        135
#define MODEM_DIAG30_IDX                        136
#define MODEM_DIAG31_IDX                        137
#define ANT_SEL0_IDX                            138
#define ANT_SEL1_IDX                            139
#define ANT_SEL2_IDX                            140
#define ANT_SEL3_IDX                            141
#define ANT_SEL4_IDX                            142
#define ANT_SEL5_IDX                            143
#define ANT_SEL6_IDX                            144
#define ANT_SEL7_IDX                            145
#define ANT_SEL8_IDX                            146
#define ANT_SEL9_IDX                            147
#define ANT_SEL10_IDX                           148
#define ANT_SEL11_IDX                           149
#define ANT_SEL12_IDX                           150
#define ANT_SEL13_IDX                           151
#define ANT_SEL14_IDX                           152
#define ANT_SEL15_IDX                           153
// version date 2311280
#define SIG_GPIO_OUT_IDX                        256
